home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 June: Reference Library / Dev.CD Jun 94.toast / Technical Documentation / Inside Macintosh / IM—Memory / IM—Memory.rsrc / TOC#_1000 < prev   
Unknown  |  1994-04-27  |  6.4 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 d7 06 4d 65 6d 6f 72 | 79 08 43 6f 6e 74 65 6e |...Memor|y.Conten|
|00000010| 74 73 1d 46 69 67 75 72 | 65 73 2c 20 54 61 62 6c |ts.Figur|es, Tabl|
|00000020| 65 73 2c 20 61 6e 64 20 | 4c 69 73 74 69 6e 67 73 |es, and |Listings|
|00000030| 0f 41 62 6f 75 74 20 54 | 68 69 73 20 42 6f 6f 6b |.About T|his Book|
|00000040| 1b 46 6f 72 6d 61 74 20 | 6f 66 20 61 20 54 79 70 |.Format |of a Typ|
|00000050| 69 63 61 6c 20 43 68 61 | 70 74 65 72 1d 43 6f 6e |ical Cha|pter.Con|
|00000060| 76 65 6e 74 69 6f 6e 73 | 20 55 73 65 64 20 69 6e |ventions| Used in|
|00000070| 20 54 68 69 73 20 42 6f | 6f 6b 0d 53 70 65 63 69 | This Bo|ok.Speci|
|00000080| 61 6c 20 46 6f 6e 74 73 | 0e 54 79 70 65 73 20 6f |al Fonts|.Types o|
|00000090| 66 20 4e 6f 74 65 73 1d | 41 73 73 65 6d 62 6c 79 |f Notes.|Assembly|
|000000a0| 2d 4c 61 6e 67 75 61 67 | 65 20 49 6e 66 6f 72 6d |-Languag|e Inform|
|000000b0| 61 74 69 6f 6e 17 44 65 | 76 65 6c 6f 70 6d 65 6e |ation.De|velopmen|
|000000c0| 74 20 45 6e 76 69 72 6f | 6e 6d 65 6e 74 21 49 6e |t Enviro|nment!In|
|000000d0| 74 72 6f 64 75 63 74 69 | 6f 6e 20 74 6f 20 4d 65 |troducti|on to Me|
|000000e0| 6d 6f 72 79 20 4d 61 6e | 61 67 65 6d 65 6e 74 0c |mory Man|agement.|
|000000f0| 41 62 6f 75 74 20 4d 65 | 6d 6f 72 79 2e 4f 72 67 |About Me|mory.Org|
|00000100| 61 6e 69 7a 61 74 69 6f | 6e 20 6f 66 20 4d 65 6d |anizatio|n of Mem|
|00000110| 6f 72 79 20 62 79 20 74 | 68 65 20 4f 70 65 72 61 |ory by t|he Opera|
|00000120| 74 69 6e 67 20 53 79 73 | 74 65 6d 32 4d 65 6d 6f |ting Sys|tem2Memo|
|00000130| 72 79 20 6f 72 67 61 6e | 69 7a 61 74 69 6f 6e 20 |ry organ|ization |
|00000140| 77 69 74 68 20 73 65 76 | 65 72 61 6c 20 61 70 70 |with sev|eral app|
|00000150| 6c 69 63 61 74 69 6f 6e | 73 20 6f 70 65 6e 0f 54 |lication|s open.T|
|00000160| 68 65 20 53 79 73 74 65 | 6d 20 48 65 61 70 1b 54 |he Syste|m Heap.T|
|00000170| 68 65 20 53 79 73 74 65 | 6d 20 47 6c 6f 62 61 6c |he Syste|m Global|
|00000180| 20 56 61 72 69 61 62 6c | 65 73 32 4f 72 67 61 6e | Variabl|es2Organ|
|00000190| 69 7a 61 74 69 6f 6e 20 | 6f 66 20 4d 65 6d 6f 72 |ization |of Memor|
|000001a0| 79 20 69 6e 20 61 6e 20 | 41 70 70 6c 69 63 61 74 |y in an |Applicat|
|000001b0| 69 6f 6e 20 50 61 72 74 | 69 74 69 6f 6e 28 4f 72 |ion Part|ition(Or|
|000001c0| 67 61 6e 69 7a 61 74 69 | 6f 6e 20 6f 66 20 61 6e |ganizati|on of an|
|000001d0| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 70 61 72 | applica|tion par|
|000001e0| 74 69 74 69 6f 6e 15 54 | 68 65 20 41 70 70 6c 69 |tition.T|he Appli|
|000001f0| 63 61 74 69 6f 6e 20 53 | 74 61 63 6b 15 54 68 65 |cation S|tack.The|
|00000200| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 73 74 61 | applica|tion sta|
|00000210| 63 6b 14 54 68 65 20 41 | 70 70 6c 69 63 61 74 69 |ck.The A|pplicati|
|00000220| 6f 6e 20 48 65 61 70 11 | 41 20 66 72 61 67 6d 65 |on Heap.|A fragme|
|00000230| 6e 74 65 64 20 68 65 61 | 70 10 41 20 63 6f 6d 70 |nted hea|p.A comp|
|00000240| 61 63 74 65 64 20 68 65 | 61 70 2d 54 68 65 20 41 |acted he|ap-The A|
|00000250| 70 70 6c 69 63 61 74 69 | 6f 6e 20 47 6c 6f 62 61 |pplicati|on Globa|
|00000260| 6c 20 56 61 72 69 61 62 | 6c 65 73 20 61 6e 64 20 |l Variab|les and |
|00000270| 41 35 20 57 6f 72 6c 64 | 29 4f 72 67 61 6e 69 7a |A5 World|)Organiz|
|00000280| 61 74 69 6f 6e 20 6f 66 | 20 61 6e 20 61 70 70 6c |ation of| an appl|
|00000290| 69 63 61 74 69 6f 6e d5 | 73 20 41 35 20 77 6f 72 |ication.|s A5 wor|
|000002a0| 6c 64 10 54 65 6d 70 6f | 72 61 72 79 20 4d 65 6d |ld.Tempo|rary Mem|
|000002b0| 6f 72 79 30 55 73 69 6e | 67 20 74 65 6d 70 6f 72 |ory0Usin|g tempor|
|000002c0| 61 72 79 20 6d 65 6d 6f | 72 79 20 61 6c 6c 6f 63 |ary memo|ry alloc|
|000002d0| 61 74 65 64 20 66 72 6f | 6d 20 75 6e 75 73 65 64 |ated fro|m unused|
|000002e0| 20 52 41 4d 0e 56 69 72 | 74 75 61 6c 20 4d 65 6d | RAM.Vir|tual Mem|
|000002f0| 6f 72 79 10 41 64 64 72 | 65 73 73 69 6e 67 20 4d |ory.Addr|essing M|
|00000300| 6f 64 65 73 0f 48 65 61 | 70 20 4d 61 6e 61 67 65 |odes.Hea|p Manage|
|00000310| 6d 65 6e 74 25 52 65 6c | 6f 63 61 74 61 62 6c 65 |ment%Rel|ocatable|
|00000320| 20 61 6e 64 20 4e 6f 6e | 72 65 6c 6f 63 61 74 61 | and Non|relocata|
|00000330| 62 6c 65 20 42 6c 6f 63 | 6b 73 23 41 20 70 6f 69 |ble Bloc|ks#A poi|
|00000340| 6e 74 65 72 20 74 6f 20 | 61 20 6e 6f 6e 72 65 6c |nter to |a nonrel|
|00000350| 6f 63 61 74 61 62 6c 65 | 20 62 6c 6f 63 6b 1f 41 |ocatable| block.A|
|00000360| 20 68 61 6e 64 6c 65 20 | 74 6f 20 61 20 72 65 6c | handle |to a rel|
|00000370| 6f 63 61 74 61 62 6c 65 | 20 62 6c 6f 63 6b 20 50 |ocatable| block P|
|00000380| 72 6f 70 65 72 74 69 65 | 73 20 6f 66 20 52 65 6c |ropertie|s of Rel|
|00000390| 6f 63 61 74 61 62 6c 65 | 20 42 6c 6f 63 6b 73 28 |ocatable| Blocks(|
|000003a0| 4c 6f 63 6b 69 6e 67 20 | 61 6e 64 20 55 6e 6c 6f |Locking |and Unlo|
|000003b0| 63 6b 69 6e 67 20 52 65 | 6c 6f 63 61 74 61 62 6c |cking Re|locatabl|
|000003c0| 65 20 42 6c 6f 63 6b 73 | 2b 50 75 72 67 69 6e 67 |e Blocks|+Purging|
|000003d0| 20 61 6e 64 20 52 65 61 | 6c 6c 6f 63 61 74 69 6e | and Rea|llocatin|
|000003e0| 67 20 52 65 6c 6f 63 61 | 74 61 62 6c 65 20 42 6c |g Reloca|table Bl|
|000003f0| 6f 63 6b 73 2c 50 75 72 | 67 69 6e 67 20 61 6e 64 |ocks,Pur|ging and|
|00000400| 20 72 65 61 6c 6c 6f 63 | 61 74 69 6e 67 20 61 20 | realloc|ating a |
|00000410| 72 65 6c 6f 63 61 74 61 | 62 6c 65 20 62 6c 6f 63 |relocata|ble bloc|
|00000420| 6b 12 4d 65 6d 6f 72 79 | 20 52 65 73 65 72 76 61 |k.Memory| Reserva|
|00000430| 74 69 6f 6e 21 41 6c 6c | 6f 63 61 74 69 6e 67 20 |tion!All|ocating |
|00000440| 61 20 6e 6f 6e 72 65 6c | 6f 63 61 74 61 62 6c 65 |a nonrel|ocatable|
|00000450| 20 62 6c 6f 63 6b 1b 48 | 65 61 70 20 50 75 72 67 | block.H|eap Purg|
|00000460| 69 6e 67 20 61 6e 64 20 | 43 6f 6d 70 61 63 74 69 |ing and |Compacti|
|00000470| 6f 6e 12 48 65 61 70 20 | 46 72 61 67 6d 65 6e 74 |on.Heap |Fragment|
|00000480| 61 74 69 6f 6e 22 44 65 | 61 6c 6c 6f 63 61 74 69 |ation"De|allocati|
|00000490| 6e 67 20 4e 6f 6e 72 65 | 6c 6f 63 61 74 61 62 6c |ng Nonre|locatabl|
|000004a0| 65 20 42 6c 6f 63 6b 73 | 10 52 65 73 65 72 76 69 |e Blocks|.Reservi|
|000004b0| 6e 67 20 4d 65 6d 6f 72 | 79 1a 4c 6f 63 6b 69 6e |ng Memor|y.Lockin|
|000004c0| 67 20 52 65 6c 6f 63 61 | 74 61 62 6c 65 20 42 6c |g Reloca|table Bl|
|000004d0| 6f 63 6b 73 1f 41 6e 20 | 65 66 66 65 63 74 69 76 |ocks.An |effectiv|
|000004e0| 65 6c 79 20 70 61 72 74 | 69 74 69 6f 6e 65 64 20 |ely part|itioned |
|000004f0| 68 65 61 70 20 41 6c 6c | 6f 63 61 74 69 6e 67 20 |heap All|ocating |
|00000500| 4e 6f 6e 72 65 6c 6f 63 | 61 74 61 62 6c 65 20 42 |Nonreloc|atable B|
|00000510| 6c 6f 63 6b 73 23 53 75 | 6d 6d 61 72 79 20 6f 66 |locks#Su|mmary of|
|00000520| 20 50 72 65 76 65 6e 74 | 69 6e 67 20 46 72 61 67 | Prevent|ing Frag|
|00000530| 6d 65 6e 74 61 74 69 6f | 6e 11 44 61 6e 67 6c 69 |mentatio|n.Dangli|
|00000540| 6e 67 20 50 6f 69 6e 74 | 65 72 73 16 43 6f 6d 70 |ng Point|ers.Comp|
|00000550| 69 6c 65 72 20 44 65 72 | 65 66 65 72 65 6e 63 69 |iler Der|eferenci|
|00000560| 6e 67 2a 4c 6f 63 6b 69 | 6e 67 20 61 20 62 6c 6f |ng*Locki|ng a blo|
|00000570| 63 6b 20 74 6f 20 61 76 | 6f 69 64 20 64 61 6e 67 |ck to av|oid dang|
|00000580| 6c 69 6e 67 20 70 6f 69 | 6e 74 65 72 73 15 4c 6f |ling poi|nters.Lo|
|00000590| 61 64 69 6e 67 20 43 6f | 64 65 20 53 65 67 6d 65 |ading Co|de Segme|
|000005a0| 6e 74 73 11 43 61 6c 6c | 62 61 63 6b 20 52 6f 75 |nts.Call|back Rou|
|000005b0| 74 69 6e 65 73 0f 49 6e | 76 61 6c 69 64 20 48 61 |tines.In|valid Ha|
|000005c0| 6e 64 6c 65 73 10 44 69 | 73 70 6f 73 65 64 20 48 |ndles.Di|sposed H|
|000005d0| 61 6e 64 6c 65 73 0d 45 | 6d 70 74 79 20 48 61 6e |andles.E|mpty Han|
|000005e0| 64 6c 65 73 0c 46 61 6b | 65 20 48 61 6e 64 6c 65 |dles.Fak|e Handle|
|000005f0| 73 16 43 72 65 61 74 69 | 6e 67 20 61 20 66 61 6b |s.Creati|ng a fak|
|00000600| 65 20 68 61 6e 64 6c 65 | 15 4c 6f 77 2d 4d 65 6d |e handle|.Low-Mem|
|00000610| 6f 72 79 20 43 6f 6e 64 | 69 74 69 6f 6e 73 0f 4d |ory Cond|itions.M|
|00000620| 65 6d 6f 72 79 20 43 75 | 73 68 69 6f 6e 73 0f 4d |emory Cu|shions.M|
|00000630| 65 6d 6f 72 79 20 52 65 | 73 65 72 76 65 73 13 47 |emory Re|serves.G|
|00000640| 72 6f 77 2d 5a 6f 6e 65 | 20 46 75 6e 63 74 69 6f |row-Zone| Functio|
|00000650| 6e 73 0c 55 73 69 6e 67 | 20 4d 65 6d 6f 72 79 1f |ns.Using| Memory.|
|00000660| 53 65 74 74 69 6e 67 20 | 55 70 20 74 68 65 20 41 |Setting |Up the A|
|00000670| 70 70 6c 69 63 61 74 69 | 6f 6e 20 48 65 61 70 1e |pplicati|on Heap.|
|00000680| 43 68 61 6e 67 69 6e 67 | 20 74 68 65 20 53 69 7a |Changing| the Siz|
|00000690| 65 20 6f 66 20 74 68 65 | 20 53 74 61 63 6b 36 49 |e of the| Stack6I|
|000006a0| 6e 63 72 65 61 73 69 6e | 67 20 74 68 65 20 61 6d |ncreasin|g the am|
|000006b0| 6f 75 6e 74 20 6f 66 20 | 73 70 61 63 65 20 61 6c |ount of |space al|
|000006c0| 6c 6f 63 61 74 65 64 20 | 66 6f 72 20 74 68 65 20 |located |for the |
|000006d0| 73 74 61 63 6b 12 45 78 | 70 61 6e 64 69 6e 67 20 |stack.Ex|panding |
|000006e0| 74 68 65 20 48 65 61 70 | 20 41 6c 6c 6f 63 61 74 |the Heap| Allocat|
|000006f0| 69 6e 67 20 4d 61 73 74 | 65 72 20 50 6f 69 6e 74 |ing Mast|er Point|
|00000700| 65 72 20 42 6c 6f 63 6b | 73 2a 53 65 74 74 69 6e |er Block|s*Settin|
|00000710| 67 20 75 70 20 79 6f 75 | 72 20 61 70 70 6c 69 63 |g up you|r applic|
|00000720| 61 74 69 6f 6e 20 68 65 | 61 70 20 61 6e 64 20 73 |ation he|ap and s|
|00000730| 74 61 63 6b 25 44 65 74 | 65 72 6d 69 6e 69 6e 67 |tack%Det|ermining|
|00000740| 20 74 68 65 20 41 6d 6f | 75 6e 74 20 6f 66 20 46 | the Amo|unt of F|
|00000750| 72 65 65 20 4d 65 6d 6f | 72 79 46 44 65 74 65 72 |ree Memo|ryFDeter|
|00000760| 6d 69 6e 69 6e 67 20 77 | 68 65 74 68 65 72 20 61 |mining w|hether a|
|00000770| 6c 6c 6f 63 61 74 69 6e | 67 20 6d 65 6d 6f 72 79 |llocatin|g memory|
|00000780| 20 77 6f 75 6c 64 20 64 | 65 70 6c 65 74 65 20 74 | would d|eplete t|
|00000790| 68 65 20 6d 65 6d 6f 72 | 79 20 63 75 73 68 69 6f |he memor|y cushio|
|000007a0| 6e 1b 41 6c 6c 6f 63 61 | 74 69 6e 67 20 42 6c 6f |n.Alloca|ting Blo|
|000007b0| 63 6b 73 20 6f 66 20 4d | 65 6d 6f 72 79 1d 41 6c |cks of M|emory.Al|
|000007c0| 6c 6f 63 61 74 69 6e 67 | 20 72 65 6c 6f 63 61 74 |locating| relocat|
|000007d0| 61 62 6c 65 20 62 6c 6f | 63 6b 73 20 41 6c 6c 6f |able blo|cks Allo|
|000007e0| 63 61 74 69 6e 67 20 6e | 6f 6e 72 65 6c 6f 63 61 |cating n|onreloca|
|000007f0| 74 61 62 6c 65 20 62 6c | 6f 63 6b 73 1a 41 6c 6c |table bl|ocks.All|
|00000800| 6f 63 61 74 69 6e 67 20 | 61 20 64 69 61 6c 6f 67 |ocating |a dialog|
|00000810| 20 72 65 63 6f 72 64 1c | 4d 61 69 6e 74 61 69 6e | record.|Maintain|
|00000820| 69 6e 67 20 61 20 4d 65 | 6d 6f 72 79 20 52 65 73 |ing a Me|mory Res|
|00000830| 65 72 76 65 24 43 72 65 | 61 74 69 6e 67 20 61 6e |erve$Cre|ating an|
|00000840| 20 65 6d 65 72 67 65 6e | 63 79 20 6d 65 6d 6f 72 | emergen|cy memor|
|00000850| 79 20 72 65 73 65 72 76 | 65 25 43 68 65 63 6b 69 |y reserv|e%Checki|
|00000860| 6e 67 20 74 68 65 20 65 | 6d 65 72 67 65 6e 63 79 |ng the e|mergency|
|00000870| 20 6d 65 6d 6f 72 79 20 | 72 65 73 65 72 76 65 46 | memory |reserveF|
|00000880| 44 65 74 65 72 6d 69 6e | 69 6e 67 20 77 68 65 74 |Determin|ing whet|
|00000890| 68 65 72 20 61 6c 6c 6f | 63 61 74 69 6e 67 20 6d |her allo|cating m|
|000008a0| 65 6d 6f 72 79 20 77 6f | 75 6c 64 20 64 65 70 6c |emory wo|uld depl|
|000008b0| 65 74 65 20 74 68 65 20 | 6d 65 6d 6f 72 79 20 63 |ete the |memory c|
|000008c0| 75 73 68 69 6f 6e 29 52 | 65 61 6c 6c 6f 63 61 74 |ushion)R|eallocat|
|000008d0| 69 6e 67 20 74 68 65 20 | 65 6d 65 72 67 65 6e 63 |ing the |emergenc|
|000008e0| 79 20 6d 65 6d 6f 72 79 | 20 72 65 73 65 72 76 65 |y memory| reserve|
|000008f0| 1d 44 65 66 69 6e 69 6e | 67 20 61 20 47 72 6f 77 |.Definin|g a Grow|
|00000900| 2d 5a 6f 6e 65 20 46 75 | 6e 63 74 69 6f 6e 34 41 |-Zone Fu|nction4A|
|00000910| 20 67 72 6f 77 2d 7a 6f | 6e 65 20 66 75 6e 63 74 | grow-zo|ne funct|
|00000920| 69 6f 6e 20 74 68 61 74 | 20 72 65 6c 65 61 73 65 |ion that| release|
|00000930| 73 20 65 6d 65 72 67 65 | 6e 63 79 20 73 74 6f 72 |s emerge|ncy stor|
|00000940| 61 67 65 1b 4d 65 6d 6f | 72 79 20 4d 61 6e 61 67 |age.Memo|ry Manag|
|00000950| 65 6d 65 6e 74 20 52 65 | 66 65 72 65 6e 63 65 1a |ement Re|ference.|
|00000960| 4d 65 6d 6f 72 79 20 4d | 61 6e 61 67 65 6d 65 6e |Memory M|anagemen|
|00000970| 74 20 52 6f 75 74 69 6e | 65 73 1f 53 65 74 74 69 |t Routin|es.Setti|
|00000980| 6e 67 20 55 70 20 74 68 | 65 20 41 70 70 6c 69 63 |ng Up th|e Applic|
|00000990| 61 74 69 6f 6e 20 48 65 | 61 70 35 41 6c 6c 6f 63 |ation He|ap5Alloc|
|000009a0| 61 74 69 6e 67 20 61 6e | 64 20 52 65 6c 65 61 73 |ating an|d Releas|
|000009b0| 69 6e 67 20 52 65 6c 6f | 63 61 74 61 62 6c 65 20 |ing Relo|catable |
|000009c0| 42 6c 6f 63 6b 73 20 6f | 66 20 4d 65 6d 6f 72 79 |Blocks o|f Memory|
|000009d0| 38 41 6c 6c 6f 63 61 74 | 69 6e 67 20 61 6e 64 20 |8Allocat|ing and |
|000009e0| 52 65 6c 65 61 73 69 6e | 67 20 4e 6f 6e 72 65 6c |Releasin|g Nonrel|
|000009f0| 6f 63 61 74 61 62 6c 65 | 20 42 6c 6f 63 6b 73 20 |ocatable| Blocks |
|00000a00| 6f 66 20 4d 65 6d 6f 72 | 79 2c 53 65 74 74 69 6e |of Memor|y,Settin|
|00000a10| 67 20 74 68 65 20 50 72 | 6f 70 65 72 74 69 65 73 |g the Pr|operties|
|00000a20| 20 6f 66 20 52 65 6c 6f | 63 61 74 61 62 6c 65 20 | of Relo|catable |
|00000a30| 42 6c 6f 63 6b 73 1b 4d | 61 6e 61 67 69 6e 67 20 |Blocks.M|anaging |
|00000a40| 52 65 6c 6f 63 61 74 61 | 62 6c 65 20 42 6c 6f 63 |Relocata|ble Bloc|
|00000a50| 6b 73 1d 4d 61 6e 69 70 | 75 6c 61 74 69 6e 67 20 |ks.Manip|ulating |
|00000a60| 42 6c 6f 63 6b 73 20 6f | 66 20 4d 65 6d 6f 72 79 |Blocks o|f Memory|
|00000a70| 1b 41 73 73 65 73 73 69 | 6e 67 20 4d 65 6d 6f 72 |.Assessi|ng Memor|
|00000a80| 79 20 43 6f 6e 64 69 74 | 69 6f 6e 73 14 47 72 6f |y Condit|ions.Gro|
|00000a90| 77 2d 5a 6f 6e 65 20 4f | 70 65 72 61 74 69 6f 6e |w-Zone O|peration|
|00000aa0| 73 25 53 65 74 74 69 6e | 67 20 61 6e 64 20 52 65 |s%Settin|g and Re|
|00000ab0| 73 74 6f 72 69 6e 67 20 | 74 68 65 20 41 35 20 52 |storing |the A5 R|
|00000ac0| 65 67 69 73 74 65 72 1c | 41 70 70 6c 69 63 61 74 |egister.|Applicat|
|00000ad0| 69 6f 6e 2d 44 65 66 69 | 6e 65 64 20 52 6f 75 74 |ion-Defi|ned Rout|
|00000ae0| 69 6e 65 73 13 47 72 6f | 77 2d 5a 6f 6e 65 20 46 |ines.Gro|w-Zone F|
|00000af0| 75 6e 63 74 69 6f 6e 73 | 1c 53 75 6d 6d 61 72 79 |unctions|.Summary|
|00000b00| 20 6f 66 20 4d 65 6d 6f | 72 79 20 4d 61 6e 61 67 | of Memo|ry Manag|
|00000b10| 65 6d 65 6e 74 0e 4d 65 | 6d 6f 72 79 20 4d 61 6e |ement.Me|mory Man|
|00000b20| 61 67 65 72 18 41 62 6f | 75 74 20 74 68 65 20 4d |ager.Abo|ut the M|
|00000b30| 65 6d 6f 72 79 20 4d 61 | 6e 61 67 65 72 10 54 65 |emory Ma|nager.Te|
|00000b40| 6d 70 6f 72 61 72 79 20 | 4d 65 6d 6f 72 79 13 4d |mporary |Memory.M|
|00000b50| 75 6c 74 69 70 6c 65 20 | 48 65 61 70 20 5a 6f 6e |ultiple |Heap Zon|
|00000b60| 65 73 1b 54 68 65 20 53 | 79 73 74 65 6d 20 47 6c |es.The S|ystem Gl|
|00000b70| 6f 62 61 6c 20 56 61 72 | 69 61 62 6c 65 73 18 55 |obal Var|iables.U|
|00000b80| 73 69 6e 67 20 74 68 65 | 20 4d 65 6d 6f 72 79 20 |sing the| Memory |
|00000b90| 4d 61 6e 61 67 65 72 2b | 52 65 61 64 69 6e 67 20 |Manager+|Reading |
|00000ba0| 61 6e 64 20 57 72 69 74 | 69 6e 67 20 53 79 73 74 |and Writ|ing Syst|
|00000bb0| 65 6d 20 47 6c 6f 62 61 | 6c 20 56 61 72 69 61 62 |em Globa|l Variab|
|00000bc0| 6c 65 73 2d 52 65 61 64 | 69 6e 67 20 74 68 65 20 |les-Read|ing the |
|00000bd0| 76 61 6c 75 65 20 6f 66 | 20 61 20 73 79 73 74 65 |value of| a syste|
|00000be0| 6d 20 67 6c 6f 62 61 6c | 20 76 61 72 69 61 62 6c |m global| variabl|
|00000bf0| 65 2e 43 68 61 6e 67 69 | 6e 67 20 74 68 65 20 76 |e.Changi|ng the v|
|00000c00| 61 6c 75 65 20 6f 66 20 | 61 20 73 79 73 74 65 6d |alue of |a system|
|00000c10| 20 67 6c 6f 62 61 6c 20 | 76 61 72 69 61 62 6c 65 | global |variable|
|00000c20| 21 45 78 74 65 6e 64 69 | 6e 67 20 61 6e 20 41 70 |!Extendi|ng an Ap|
|00000c30| 70 6c 69 63 61 74 69 6f | 6e d5 73 20 4d 65 6d 6f |plicatio|n.s Memo|
|00000c40| 72 79 1b 41 6c 6c 6f 63 | 61 74 69 6e 67 20 54 65 |ry.Alloc|ating Te|
|00000c50| 6d 70 6f 72 61 72 79 20 | 4d 65 6d 6f 72 79 2c 44 |mporary |Memory,D|
|00000c60| 65 74 65 72 6d 69 6e 69 | 6e 67 20 74 68 65 20 46 |etermini|ng the F|
|00000c70| 65 61 74 75 72 65 73 20 | 6f 66 20 54 65 6d 70 6f |eatures |of Tempo|
|00000c80| 72 61 72 79 20 4d 65 6d | 6f 72 79 3b 44 65 74 65 |rary Mem|ory;Dete|
|00000c90| 72 6d 69 6e 69 6e 67 20 | 77 68 65 74 68 65 72 20 |rmining |whether |
|00000ca0| 74 65 6d 70 6f 72 61 72 | 79 2d 6d 65 6d 6f 72 79 |temporar|y-memory|
|00000cb0| 20 72 6f 75 74 69 6e 65 | 73 20 61 72 65 20 61 76 | routine|s are av|
|00000cc0| 61 69 6c 61 62 6c 65 15 | 55 73 69 6e 67 20 74 68 |ailable.|Using th|
|00000cd0| 65 20 53 79 73 74 65 6d | 20 48 65 61 70 1e 43 61 |e System| Heap.Ca|
|00000ce0| 6c 6c 69 6e 67 20 61 20 | 70 72 6f 63 65 64 75 72 |lling a |procedur|
|00000cf0| 65 20 62 79 20 61 64 64 | 72 65 73 73 21 41 6c 6c |e by add|ress!All|
|00000d00| 6f 63 61 74 69 6e 67 20 | 4d 65 6d 6f 72 79 20 61 |ocating |Memory a|
|00000d10| 74 20 53 74 61 72 74 75 | 70 20 54 69 6d 65 13 43 |t Startu|p Time.C|
|00000d20| 72 65 61 74 69 6e 67 20 | 48 65 61 70 20 5a 6f 6e |reating |Heap Zon|
|00000d30| 65 73 38 43 72 65 61 74 | 69 6e 67 20 61 20 73 75 |es8Creat|ing a su|
|00000d40| 62 7a 6f 6e 65 20 6f 66 | 20 74 68 65 20 6f 72 69 |bzone of| the ori|
|00000d50| 67 69 6e 61 6c 20 61 70 | 70 6c 69 63 61 74 69 6f |ginal ap|plicatio|
|00000d60| 6e 20 68 65 61 70 20 7a | 6f 6e 65 24 49 6e 73 74 |n heap z|one$Inst|
|00000d70| 61 6c 6c 69 6e 67 20 61 | 20 50 75 72 67 65 2d 57 |alling a| Purge-W|
|00000d80| 61 72 6e 69 6e 67 20 50 | 72 6f 63 65 64 75 72 65 |arning P|rocedure|
|00000d90| 19 41 20 70 75 72 67 65 | 2d 77 61 72 6e 69 6e 67 |.A purge|-warning|
|00000da0| 20 70 72 6f 63 65 64 75 | 72 65 24 49 6e 73 74 61 | procedu|re$Insta|
|00000db0| 6c 6c 69 6e 67 20 61 20 | 70 75 72 67 65 2d 77 61 |lling a |purge-wa|
|00000dc0| 72 6e 69 6e 67 20 70 72 | 6f 63 65 64 75 72 65 45 |rning pr|ocedureE|
|00000dd0| 41 20 70 75 72 67 65 2d | 77 61 72 6e 69 6e 67 20 |A purge-|warning |
|00000de0| 70 72 6f 63 65 64 75 72 | 65 20 74 68 61 74 20 63 |procedur|e that c|
|00000df0| 61 6c 6c 73 20 74 68 65 | 20 52 65 73 6f 75 72 63 |alls the| Resourc|
|00000e00| 65 20 4d 61 6e 61 67 65 | 72 d5 73 20 70 72 6f 63 |e Manage|r.s proc|
|00000e10| 65 64 75 72 65 16 4f 72 | 67 61 6e 69 7a 61 74 69 |edure.Or|ganizati|
|00000e20| 6f 6e 20 6f 66 20 4d 65 | 6d 6f 72 79 0a 48 65 61 |on of Me|mory.Hea|
|00000e30| 70 20 5a 6f 6e 65 73 0d | 42 6c 6f 63 6b 20 48 65 |p Zones.|Block He|
|00000e40| 61 64 65 72 73 1f 41 20 | 62 6c 6f 63 6b 20 68 65 |aders.A |block he|
|00000e50| 61 64 65 72 20 69 6e 20 | 61 20 32 34 2d 62 69 74 |ader in |a 24-bit|
|00000e60| 20 7a 6f 6e 65 1f 41 20 | 62 6c 6f 63 6b 20 68 65 | zone.A |block he|
|00000e70| 61 64 65 72 20 69 6e 20 | 61 20 33 32 2d 62 69 74 |ader in |a 32-bit|
|00000e80| 20 7a 6f 6e 65 18 4d 65 | 6d 6f 72 79 20 4d 61 6e | zone.Me|mory Man|
|00000e90| 61 67 65 72 20 52 65 66 | 65 72 65 6e 63 65 0a 44 |ager Ref|erence.D|
|00000ea0| 61 74 61 20 54 79 70 65 | 73 17 4d 65 6d 6f 72 79 |ata Type|s.Memory|
|00000eb0| 20 4d 61 6e 61 67 65 72 | 20 52 6f 75 74 69 6e 65 | Manager| Routine|
|00000ec0| 73 1f 53 65 74 74 69 6e | 67 20 55 70 20 74 68 65 |s.Settin|g Up the|
|00000ed0| 20 41 70 70 6c 69 63 61 | 74 69 6f 6e 20 48 65 61 | Applica|tion Hea|
|00000ee0| 70 35 41 6c 6c 6f 63 61 | 74 69 6e 67 20 61 6e 64 |p5Alloca|ting and|
|00000ef0| 20 52 65 6c 65 61 73 69 | 6e 67 20 52 65 6c 6f 63 | Releasi|ng Reloc|
|00000f00| 61 74 61 62 6c 65 20 42 | 6c 6f 63 6b 73 20 6f 66 |atable B|locks of|
|00000f10| 20 4d 65 6d 6f 72 79 38 | 41 6c 6c 6f 63 61 74 69 | Memory8|Allocati|
|00000f20| 6e 67 20 61 6e 64 20 52 | 65 6c 65 61 73 69 6e 67 |ng and R|eleasing|
|00000f30| 20 4e 6f 6e 72 65 6c 6f | 63 61 74 61 62 6c 65 20 | Nonrelo|catable |
|00000f40| 42 6c 6f 63 6b 73 20 6f | 66 20 4d 65 6d 6f 72 79 |Blocks o|f Memory|
|00000f50| 3b 43 68 61 6e 67 69 6e | 67 20 74 68 65 20 53 69 |;Changin|g the Si|
|00000f60| 7a 65 73 20 6f 66 20 52 | 65 6c 6f 63 61 74 61 62 |zes of R|elocatab|
|00000f70| 6c 65 20 61 6e 64 20 4e | 6f 6e 72 65 6c 6f 63 61 |le and N|onreloca|
|00000f80| 74 61 62 6c 65 20 42 6c | 6f 63 6b 73 2c 53 65 74 |table Bl|ocks,Set|
|00000f90| 74 69 6e 67 20 74 68 65 | 20 50 72 6f 70 65 72 74 |ting the| Propert|
|00000fa0| 69 65 73 20 6f 66 20 52 | 65 6c 6f 63 61 74 61 62 |ies of R|elocatab|
|00000fb0| 6c 65 20 42 6c 6f 63 6b | 73 1b 4d 61 6e 61 67 69 |le Block|s.Managi|
|00000fc0| 6e 67 20 52 65 6c 6f 63 | 61 74 61 62 6c 65 20 42 |ng Reloc|atable B|
|00000fd0| 6c 6f 63 6b 73 1d 4d 61 | 6e 69 70 75 6c 61 74 69 |locks.Ma|nipulati|
|00000fe0| 6e 67 20 42 6c 6f 63 6b | 73 20 6f 66 20 4d 65 6d |ng Block|s of Mem|
|00000ff0| 6f 72 79 1b 41 73 73 65 | 73 73 69 6e 67 20 4d 65 |ory.Asse|ssing Me|
|00001000| 6d 6f 72 79 20 43 6f 6e | 64 69 74 69 6f 6e 73 0e |mory Con|ditions.|
|00001010| 46 72 65 65 69 6e 67 20 | 4d 65 6d 6f 72 79 14 47 |Freeing |Memory.G|
|00001020| 72 6f 77 2d 5a 6f 6e 65 | 20 4f 70 65 72 61 74 69 |row-Zone| Operati|
|00001030| 6f 6e 73 1b 41 6c 6c 6f | 63 61 74 69 6e 67 20 54 |ons.Allo|cating T|
|00001040| 65 6d 70 6f 72 61 72 79 | 20 4d 65 6d 6f 72 79 14 |emporary| Memory.|
|00001050| 41 63 63 65 73 73 69 6e | 67 20 48 65 61 70 20 5a |Accessin|g Heap Z|
|00001060| 6f 6e 65 73 17 4d 61 6e | 69 70 75 6c 61 74 69 6e |ones.Man|ipulatin|
|00001070| 67 20 48 65 61 70 20 5a | 6f 6e 65 73 1c 41 70 70 |g Heap Z|ones.App|
|00001080| 6c 69 63 61 74 69 6f 6e | 2d 44 65 66 69 6e 65 64 |lication|-Defined|
|00001090| 20 52 6f 75 74 69 6e 65 | 73 13 47 72 6f 77 2d 5a | Routine|s.Grow-Z|
|000010a0| 6f 6e 65 20 46 75 6e 63 | 74 69 6f 6e 73 18 50 75 |one Func|tions.Pu|
|000010b0| 72 67 65 2d 57 61 72 6e | 69 6e 67 20 50 72 6f 63 |rge-Warn|ing Proc|
|000010c0| 65 64 75 72 65 73 1d 53 | 75 6d 6d 61 72 79 20 6f |edures.S|ummary o|
|000010d0| 66 20 74 68 65 20 4d 65 | 6d 6f 72 79 20 4d 61 6e |f the Me|mory Man|
|000010e0| 61 67 65 72 16 56 69 72 | 74 75 61 6c 20 4d 65 6d |ager.Vir|tual Mem|
|000010f0| 6f 72 79 20 4d 61 6e 61 | 67 65 72 20 41 62 6f 75 |ory Mana|ger Abou|
|00001100| 74 20 74 68 65 20 56 69 | 72 74 75 61 6c 20 4d 65 |t the Vi|rtual Me|
|00001110| 6d 6f 72 79 20 4d 61 6e | 61 67 65 72 0e 56 69 72 |mory Man|ager.Vir|
|00001120| 74 75 61 6c 20 4d 65 6d | 6f 72 79 19 54 68 65 20 |tual Mem|ory.The |
|00001130| 4c 6f 67 69 63 61 6c 20 | 41 64 64 72 65 73 73 20 |Logical |Address |
|00001140| 53 70 61 63 65 11 32 34 | 2d 42 69 74 20 41 64 64 |Space.24|-Bit Add|
|00001150| 72 65 73 73 69 6e 67 2b | 32 34 2d 62 69 74 20 4d |ressing+|24-bit M|
|00001160| 65 6d 6f 72 79 20 4d 61 | 6e 61 67 65 72 20 6c 6f |emory Ma|nager lo|
|00001170| 67 69 63 61 6c 20 61 64 | 64 72 65 73 73 20 73 70 |gical ad|dress sp|
|00001180| 61 63 65 11 33 32 2d 42 | 69 74 20 41 64 64 72 65 |ace.32-B|it Addre|
|00001190| 73 73 69 6e 67 2b 33 32 | 2d 62 69 74 20 4d 65 6d |ssing+32|-bit Mem|
|000011a0| 6f 72 79 20 4d 61 6e 61 | 67 65 72 20 6c 6f 67 69 |ory Mana|ger logi|
|000011b0| 63 61 6c 20 61 64 64 72 | 65 73 73 20 73 70 61 63 |cal addr|ess spac|
|000011c0| 65 1a 54 68 65 20 50 68 | 79 73 69 63 61 6c 20 41 |e.The Ph|ysical A|
|000011d0| 64 64 72 65 73 73 20 53 | 70 61 63 65 3f 54 68 65 |ddress S|pace?The|
|000011e0| 20 70 68 79 73 69 63 61 | 6c 20 61 64 64 72 65 73 | physica|l addres|
|000011f0| 73 20 73 70 61 63 65 20 | 6f 6e 20 61 20 4d 61 63 |s space |on a Mac|
|00001200| 69 6e 74 6f 73 68 20 49 | 49 63 69 20 77 69 74 68 |intosh I|Ici with|
|00001210| 20 38 20 4d 42 20 6f 66 | 20 52 41 4d 0b 50 61 67 | 8 MB of| RAM.Pag|
|00001220| 65 20 46 61 75 6c 74 73 | 20 55 73 69 6e 67 20 74 |e Faults| Using t|
|00001230| 68 65 20 56 69 72 74 75 | 61 6c 20 4d 65 6d 6f 72 |he Virtu|al Memor|
|00001240| 79 20 4d 61 6e 61 67 65 | 72 2a 4f 62 74 61 69 6e |y Manage|r*Obtain|
|00001250| 69 6e 67 20 49 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |ing Info|rmation |
|00001260| 41 62 6f 75 74 20 56 69 | 72 74 75 61 6c 20 4d 65 |About Vi|rtual Me|
|00001270| 6d 6f 72 79 1c 48 6f 6c | 64 69 6e 67 20 61 6e 64 |mory.Hol|ding and|
|00001280| 20 52 65 6c 65 61 73 69 | 6e 67 20 4d 65 6d 6f 72 | Releasi|ng Memor|
|00001290| 79 1c 4c 6f 63 6b 69 6e | 67 20 61 6e 64 20 55 6e |y.Lockin|g and Un|
|000012a0| 6c 6f 63 6b 69 6e 67 20 | 4d 65 6d 6f 72 79 25 4d |locking |Memory%M|
|000012b0| 61 70 70 69 6e 67 20 4c | 6f 67 69 63 61 6c 20 74 |apping L|ogical t|
|000012c0| 6f 20 50 68 79 73 69 63 | 61 6c 20 41 64 64 72 65 |o Physic|al Addre|
|000012d0| 73 73 65 73 29 54 72 61 | 6e 73 6c 61 74 69 6e 67 |sses)Tra|nslating|
|000012e0| 20 6c 6f 67 69 63 61 6c | 20 74 6f 20 70 68 79 73 | logical| to phys|
|000012f0| 69 63 61 6c 20 61 64 64 | 72 65 73 73 65 73 21 44 |ical add|resses!D|
|00001300| 65 66 65 72 72 69 6e 67 | 20 55 73 65 72 20 49 6e |eferring| User In|
|00001310| 74 65 72 72 75 70 74 20 | 48 61 6e 64 6c 69 6e 67 |terrupt |Handling|
|00001320| 1c 56 69 72 74 75 61 6c | 20 4d 65 6d 6f 72 79 20 |.Virtual| Memory |
|00001330| 61 6e 64 20 44 65 62 75 | 67 67 65 72 73 11 42 75 |and Debu|ggers.Bu|
|00001340| 73 2d 45 72 72 6f 72 20 | 56 65 63 74 6f 72 73 23 |s-Error |Vectors#|
|00001350| 53 70 65 63 69 61 6c 20 | 4e 6f 6e 6d 61 73 6b 61 |Special |Nonmaska|
|00001360| 62 6c 65 20 49 6e 74 65 | 72 72 75 70 74 20 4e 65 |ble Inte|rrupt Ne|
|00001370| 65 64 73 0f 53 75 70 65 | 72 76 69 73 6f 72 20 4d |eds.Supe|rvisor M|
|00001380| 6f 64 65 13 54 68 65 20 | 44 65 62 75 67 67 69 6e |ode.The |Debuggin|
|00001390| 67 20 53 74 61 74 65 0e | 4b 65 79 62 6f 61 72 64 |g State.|Keyboard|
|000013a0| 20 49 6e 70 75 74 0b 50 | 61 67 65 20 53 74 61 74 | Input.P|age Stat|
|000013b0| 65 73 20 56 69 72 74 75 | 61 6c 20 4d 65 6d 6f 72 |es Virtu|al Memor|
|000013c0| 79 20 4d 61 6e 61 67 65 | 72 20 52 65 66 65 72 65 |y Manage|r Refere|
|000013d0| 6e 63 65 0f 44 61 74 61 | 20 53 74 72 75 63 74 75 |nce.Data| Structu|
|000013e0| 72 65 73 13 4d 65 6d 6f | 72 79 2d 42 6c 6f 63 6b |res.Memo|ry-Block|
|000013f0| 20 52 65 63 6f 72 64 11 | 54 72 61 6e 73 6c 61 74 | Record.|Translat|
|00001400| 69 6f 6e 20 54 61 62 6c | 65 08 52 6f 75 74 69 6e |ion Tabl|e.Routin|
|00001410| 65 73 19 56 69 72 74 75 | 61 6c 20 4d 65 6d 6f 72 |es.Virtu|al Memor|
|00001420| 79 20 4d 61 6e 61 67 65 | 6d 65 6e 74 28 56 69 72 |y Manage|ment(Vir|
|00001430| 74 75 61 6c 20 4d 65 6d | 6f 72 79 20 44 65 62 75 |tual Mem|ory Debu|
|00001440| 67 67 65 72 20 53 75 70 | 70 6f 72 74 20 52 6f 75 |gger Sup|port Rou|
|00001450| 74 69 6e 65 73 25 53 75 | 6d 6d 61 72 79 20 6f 66 |tines%Su|mmary of|
|00001460| 20 74 68 65 20 56 69 72 | 74 75 61 6c 20 4d 65 6d | the Vir|tual Mem|
|00001470| 6f 72 79 20 4d 61 6e 61 | 67 65 72 1b 4d 65 6d 6f |ory Mana|ger.Memo|
|00001480| 72 79 20 4d 61 6e 61 67 | 65 6d 65 6e 74 20 55 74 |ry Manag|ement Ut|
|00001490| 69 6c 69 74 69 65 73 18 | 54 68 65 20 4d 65 6d 6f |ilities.|The Memo|
|000014a0| 72 79 20 43 6f 6e 74 72 | 6f 6c 20 50 61 6e 65 6c |ry Contr|ol Panel|
|000014b0| 18 54 68 65 20 4d 65 6d | 6f 72 79 20 63 6f 6e 74 |.The Mem|ory cont|
|000014c0| 72 6f 6c 20 70 61 6e 65 | 6c 25 41 62 6f 75 74 20 |rol pane|l%About |
|000014d0| 74 68 65 20 4d 65 6d 6f | 72 79 20 4d 61 6e 61 67 |the Memo|ry Manag|
|000014e0| 65 6d 65 6e 74 20 55 74 | 69 6c 69 74 69 65 73 0f |ement Ut|ilities.|
|000014f0| 54 68 65 20 41 35 20 52 | 65 67 69 73 74 65 72 10 |The A5 R|egister.|
|00001500| 41 64 64 72 65 73 73 69 | 6e 67 20 4d 6f 64 65 73 |Addressi|ng Modes|
|00001510| 13 41 64 64 72 65 73 73 | 20 54 72 61 6e 73 6c 61 |.Address| Transla|
|00001520| 74 69 6f 6e 10 50 72 6f | 63 65 73 73 6f 72 20 43 |tion.Pro|cessor C|
|00001530| 61 63 68 65 73 2b 43 61 | 63 68 65 73 20 61 76 61 |aches+Ca|ches ava|
|00001540| 69 6c 61 62 6c 65 20 69 | 6e 20 4d 43 36 38 30 78 |ilable i|n MC680x|
|00001550| 30 20 6d 69 63 72 6f 70 | 72 6f 63 65 73 73 6f 72 |0 microp|rocessor|
|00001560| 73 12 53 74 61 6c 65 20 | 49 6e 73 74 72 75 63 74 |s.Stale |Instruct|
|00001570| 69 6f 6e 73 0a 53 74 61 | 6c 65 20 44 61 74 61 1a |ions.Sta|le Data.|
|00001580| 49 6e 69 74 69 61 6c 69 | 7a 69 6e 67 20 61 20 73 |Initiali|zing a s|
|00001590| 74 61 74 75 73 20 63 6f | 64 65 12 52 65 61 64 69 |tatus co|de.Readi|
|000015a0| 6e 67 20 73 74 61 6c 65 | 20 64 61 74 61 1c 52 65 |ng stale| data.Re|
|000015b0| 61 64 69 6e 67 20 69 6e | 76 61 6c 69 64 20 69 6e |ading in|valid in|
|000015c0| 73 74 72 75 63 74 69 6f | 6e 73 25 55 73 69 6e 67 |structio|ns%Using|
|000015d0| 20 74 68 65 20 4d 65 6d | 6f 72 79 20 4d 61 6e 61 | the Mem|ory Mana|
|000015e0| 67 65 6d 65 6e 74 20 55 | 74 69 6c 69 74 69 65 73 |gement U|tilities|
|000015f0| 2d 41 63 63 65 73 73 69 | 6e 67 20 74 68 65 20 41 |-Accessi|ng the A|
|00001600| 35 20 57 6f 72 6c 64 20 | 69 6e 20 43 6f 6d 70 6c |5 World |in Compl|
|00001610| 65 74 69 6f 6e 20 52 6f | 75 74 69 6e 65 73 1b 41 |etion Ro|utines.A|
|00001620| 20 73 61 6d 70 6c 65 20 | 67 72 6f 77 2d 7a 6f 6e | sample |grow-zon|
|00001630| 65 20 66 75 6e 63 74 69 | 6f 6e 29 41 63 63 65 73 |e functi|on)Acces|
|00001640| 73 69 6e 67 20 74 68 65 | 20 41 35 20 57 6f 72 6c |sing the| A5 Worl|
|00001650| 64 20 69 6e 20 49 6e 74 | 65 72 72 75 70 74 20 54 |d in Int|errupt T|
|00001660| 61 73 6b 73 2f 50 61 73 | 73 69 6e 67 20 41 35 20 |asks/Pas|sing A5 |
|00001670| 74 6f 20 61 20 6e 6f 74 | 69 66 69 63 61 74 69 6f |to a not|ificatio|
|00001680| 6e 20 72 65 73 70 6f 6e | 73 65 20 70 72 6f 63 65 |n respon|se proce|
|00001690| 64 75 72 65 3a 53 65 74 | 74 69 6e 67 20 75 70 20 |dure:Set|ting up |
|000016a0| 61 6e 64 20 72 65 73 74 | 6f 72 69 6e 67 20 74 68 |and rest|oring th|
|000016b0| 65 20 41 35 20 72 65 67 | 69 73 74 65 72 20 61 74 |e A5 reg|ister at|
|000016c0| 20 69 6e 74 65 72 72 75 | 70 74 20 74 69 6d 65 34 | interru|pt time4|
|000016d0| 55 73 69 6e 67 20 51 75 | 69 63 6b 44 72 61 77 20 |Using Qu|ickDraw |
|000016e0| 47 6c 6f 62 61 6c 20 56 | 61 72 69 61 62 6c 65 73 |Global V|ariables|
|000016f0| 20 69 6e 20 53 74 61 6e | 64 2d 41 6c 6f 6e 65 20 | in Stan|d-Alone |
|00001700| 43 6f 64 65 2b 53 74 72 | 75 63 74 75 72 65 20 6f |Code+Str|ucture o|
|00001710| 66 20 74 68 65 20 51 75 | 69 63 6b 44 72 61 77 20 |f the Qu|ickDraw |
|00001720| 67 6c 6f 62 61 6c 20 76 | 61 72 69 61 62 6c 65 73 |global v|ariables|
|00001730| 34 43 6f 70 79 69 6e 67 | 20 74 68 65 20 51 75 69 |4Copying| the Qui|
|00001740| 63 6b 44 72 61 77 20 67 | 6c 6f 62 61 6c 20 76 61 |ckDraw g|lobal va|
|00001750| 72 69 61 62 6c 65 73 20 | 69 6e 74 6f 20 61 20 72 |riables |into a r|
|00001760| 65 63 6f 72 64 4b 41 20 | 63 6f 6e 74 72 6f 6c d5 |ecordKA |control.|
|00001770| 73 20 64 72 61 77 20 72 | 6f 75 74 69 6e 65 20 75 |s draw r|outine u|
|00001780| 73 69 6e 67 20 74 68 65 | 20 63 61 6c 6c 69 6e 67 |sing the| calling|
|00001790| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e d5 73 20 51 | applica|tion.s Q|
|000017a0| 75 69 63 6b 44 72 61 77 | 20 70 61 74 74 65 72 6e |uickDraw| pattern|
|000017b0| 73 1a 53 77 69 74 63 68 | 69 6e 67 20 41 64 64 72 |s.Switch|ing Addr|
|000017c0| 65 73 73 69 6e 67 20 4d | 6f 64 65 73 1d 53 74 72 |essing M|odes.Str|
|000017d0| 69 70 70 69 6e 67 20 74 | 68 65 20 70 72 6f 67 72 |ipping t|he progr|
|000017e0| 61 6d 20 63 6f 75 6e 74 | 65 72 29 53 74 72 69 70 |am count|er)Strip|
|000017f0| 70 69 6e 67 20 46 6c 61 | 67 20 42 69 74 73 20 46 |ping Fla|g Bits F|
|00001800| 72 6f 6d 20 4d 65 6d 6f | 72 79 20 41 64 64 72 65 |rom Memo|ry Addre|
|00001810| 73 73 65 73 29 53 74 72 | 69 70 70 69 6e 67 20 61 |sses)Str|ipping a|
|00001820| 64 64 72 65 73 73 65 73 | 20 69 6e 20 74 69 6d 65 |ddresses| in time|
|00001830| 2d 63 72 69 74 69 63 61 | 6c 20 63 6f 64 65 21 43 |-critica|l code!C|
|00001840| 61 6c 63 75 6c 61 74 69 | 6e 67 20 74 68 65 20 53 |alculati|ng the S|
|00001850| 74 72 69 70 41 64 64 72 | 65 73 73 20 6d 61 73 6b |tripAddr|ess mask|
|00001860| 1c 54 72 61 6e 73 6c 61 | 74 69 6e 67 20 4d 65 6d |.Transla|ting Mem|
|00001870| 6f 72 79 20 41 64 64 72 | 65 73 73 65 73 26 54 72 |ory Addr|esses&Tr|
|00001880| 61 6e 73 6c 61 74 69 6e | 67 20 32 34 2d 62 69 74 |anslatin|g 24-bit|
|00001890| 20 74 6f 20 33 32 2d 62 | 69 74 20 61 64 64 72 65 | to 32-b|it addre|
|000018a0| 73 73 65 73 25 4d 65 6d | 6f 72 79 20 4d 61 6e 61 |sses%Mem|ory Mana|
|000018b0| 67 65 6d 65 6e 74 20 55 | 74 69 6c 69 74 69 65 73 |gement U|tilities|
|000018c0| 20 52 65 66 65 72 65 6e | 63 65 08 52 6f 75 74 69 | Referen|ce.Routi|
|000018d0| 6e 65 73 25 53 65 74 74 | 69 6e 67 20 61 6e 64 20 |nes%Sett|ing and |
|000018e0| 52 65 73 74 6f 72 69 6e | 67 20 74 68 65 20 41 35 |Restorin|g the A5|
|000018f0| 20 52 65 67 69 73 74 65 | 72 1c 43 68 61 6e 67 69 | Registe|r.Changi|
|00001900| 6e 67 20 74 68 65 20 41 | 64 64 72 65 73 73 69 6e |ng the A|ddressin|
|00001910| 67 20 4d 6f 64 65 1d 4d | 61 6e 69 70 75 6c 61 74 |g Mode.M|anipulat|
|00001920| 69 6e 67 20 4d 65 6d 6f | 72 79 20 41 64 64 72 65 |ing Memo|ry Addre|
|00001930| 73 73 65 73 21 4d 61 6e | 69 70 75 6c 61 74 69 6e |sses!Man|ipulatin|
|00001940| 67 20 74 68 65 20 50 72 | 6f 63 65 73 73 6f 72 20 |g the Pr|ocessor |
|00001950| 43 61 63 68 65 73 2a 53 | 75 6d 6d 61 72 79 20 6f |Caches*S|ummary o|
|00001960| 66 20 74 68 65 20 4d 65 | 6d 6f 72 79 20 4d 61 6e |f the Me|mory Man|
|00001970| 61 67 65 6d 65 6e 74 20 | 55 74 69 6c 69 74 69 65 |agement |Utilitie|
|00001980| 73 08 47 6c 6f 73 73 61 | 72 79 05 49 6e 64 65 78 |s.Glossa|ry.Index|
+--------+-------------------------+-------------------------+--------+--------+